package leetcode.code136.SingleNumber;

public class Solution13601 extends SingleNumber {

	@Override
	public int singleNumber(int[] nums) {
		int result = nums[0];
		for (int i = 1; i < nums.length; i++) {
			result ^= nums[i];
		}
		return result;
	}

	public static void main(String[] args) {
		Solution13601 so = new Solution13601();
		so.debug1();
		so.debug2();
		so.debug3();
	}

}
